<?php

namespace Tests\Feature;

use Tests\TestCase;

class EmailControllerTest extends TestCase
{
  public static function setUpBeforeClass(): void
  {
    self::$model = 'App\Models\Email';
    self::$table = 'emails';
    self::$searchExpr = 'email=[lk]barry';
    self::$searchRecord = ['user_id', '=', '1', 'type_id', '=', '8'];
    self::$toIns = [
      'user_id' => 3,
      'type_id' => 11,
      'email' => 'iris.westallen@citizien.com',
    ];
    self::$searchToUpd = ['user_id', '=', '3', 'type_id', '=', '11'];
    self::$toUpd = ['email' => 'iris.westallen@gmail.com'];
    self::$searchToDel = ['user_id', '=', '3', 'type_id', '=', '11'];
  }
}
